home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Override Save A Copy?.2 < prev    next >
Encoding:
Internet Message Format  |  1996-07-08  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Override Save A Copy?
  2. Sent:        7/7/96 1:47 PM
  3. Received:    7/8/96 8:47 AM
  4. From:        Mark Lanett, mlanett@meer.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. At 0:23 PM 7/3/96, Ken Boyer wrote:
  9. >I have successfully overridden the Insert menu command so that I could
  10. >display file types other then OpenDoc. I would also like to override the
  11. >behavior of the Save A Copy command. I would like to add a popup menu that
  12. >would allow the user to choose a file type to save the file as. Is there a
  13. >way of doing this?
  14.  
  15. *If* your part gets menu events then you can just handle
  16. kODCommandSaveACopy (or something like that).
  17.  
  18. Of course this will only happen if your part is active, or your part is
  19. embedded in the Cyberdog navigator.
  20.  
  21. Anyway, to put a popup menu in there you'll have to do the usual
  22. CustomPutFile crud. We'll have code to do exactly this for ODF R2's
  23. Cyberdog support, although you can use it for other things.
  24.  
  25.  
  26. --
  27. Mark Lanett <mlanett@meer.net>
  28. Have a bajillion brilliant Jobsian lithium licks
  29.  
  30.  
  31.